
<template>
	<view class="follows">
			<view class="header" v-if="data.length == 0">
				<image :src="getImgUrl('/img/wshing/zanwu.png')" mode="aspectFill" style="width:400rpx ;height: 400rpx;"></image>
				<view class="zwgz">
					暂无关注{{data}}
				</view>
			</view>
			<view class="second">
				<view class="left_ft">
					<image :src="getImgUrl('/img/wshing/tuijian.png')" mode="aspectFill" style="width: 36rpx;height: 36rpx;vertical-align: bottom;"></image>
					<text class="tuijian">为你推荐</text>
				</view>
				<view class="right_ft">
					<text class="huan">换一换</text> <uni-icons custom-prefix="loop" type="loop" size="20" style="vertical-align: bottom;"></uni-icons>
				</view>
			</view>
			<uni-card >
				<view  class="un_card">
					<view class="left_un">
						<image :src="imgs" mode="scaleToFill" style="width: 104rpx;height: 104rpx;border-radius: 50%;"></image>
						<view class="xingkong">
							<view class="dengta">
								星空下灯塔
							</view>
							<view class="fannao">
								情感困扰情绪烦恼咨询
							</view>
						</view>
					</view>
					<image :src="getImgUrl('/img/wshing/guanzhu.png')" style="width: 40rpx;height: 40rpx;"></image>
				</view>

			</uni-card>
	</view>
</template>

<script>
import {imgBaseUrl} from '@/utils/baseUrl.js'
	export default {
		data(){
			return{
				data:[],
				imgs:'https://img1.baidu.com/it/u=3762998275,2618077829&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1697907600&t=3577a4f4377977c5b1f317eff52ab306'
			}
		},
		mounted(){
		},
		methods:{
			// 图片渲染
			getImgUrl(image) {
				return imgBaseUrl + image;
			},
		}
	}
</script>

<style scoped lang="less">
.follows{
	width: 100%;
	height: 80vh;
	background: #F5F5F7;
	.header{
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		.zwgz{
			font-size: 28rpx;
			font-family: PingFang SC-Regular, PingFang SC;
			font-weight: 400;
			color: #737B80;
			line-height: 40rpx;
		}
	}
	.second{
		    padding: 100rpx 28rpx 28rpx 28rpx;
		    display: flex;
		    justify-content: space-between;
			
			.left_ft{
				.tuijian{
					font-size: 36rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 500;
					color: #333333;
					margin-left: 20rpx;
				}
			}
			.right_ft{
				.huan{
					font-size: 30rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 500;
					color: #999999;
					margin-right: 20rpx;
				}
			}
	}
	.un_card{
		display: flex;
		justify-content: space-between;
		align-items: center;
		.left_un{
			display: flex;
			padding: 20rpx 0 20rpx 0;
			.xingkong{
				    margin-left: 30rpx;
				    line-height: 48rpx;
					.dengta{
						font-size: 32rpx;
						font-family: PingFang SC-Bold, PingFang SC;
						font-weight: bold;
						color: #333333;
						letter-spacing: 2rpx;
					}
					.fannao{
						font-size: 24rpx;
						font-family: PingFang SC-Regular, PingFang SC;
						font-weight: 400;
						color: #666666;
						letter-spacing: 2rpx;
					}
			}
		}
	}
}
</style>